﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VOL.Entity.DomainModels.Devices.MongoDbModels
{
    public class MeasureInfo
    {
        /// <summary>
        ///主键
        /// </summary>
        public Guid id { get; set; }
        /// <summary>
        ///设备ID
        /// </summary>
        public Guid device_id { get; set; }
        /// <summary>
        ///设备编号
        /// </summary>
        public string deviceNo { get; set; }
        /// <summary>
        ///上传时间
        /// </summary>
        public DateTime? uploadTime { get; set; }
        /// <summary>
        ///上传时间
        /// </summary>
        public DateTimeOffset uploadTimeOffset { get; set; }
        /// <summary>
        ///报警标志
        /// </summary>
        public int? alarmFlag { get; set; }
        /// <summary>
        ///目标1距离(mm)
        /// </summary>
        public int? targetDistance1 { get; set; }
        /// <summary>
        ///目标1 SNR
        /// </summary>
        public decimal targetSnr1 { get; set; }
        /// <summary>
        ///目标2距离(mm)
        /// </summary>
        public int? targetDistance2 { get; set; }
        /// <summary>
        ///目标2 SNR
        /// </summary>
        public decimal targetSnr2 { get; set; }
        /// <summary>
        ///目标3距离(mm)
        /// </summary>
        public int? targetDistance3 { get; set; }
        /// <summary>
        ///目标3 SNR
        /// </summary>
        public decimal targetSnr3 { get; set; }
        /// <summary>
        ///添加时间
        /// </summary>
        public DateTime? createTime { get; set; }
        ///添加时间
        /// </summary>
        public DateTimeOffset AddTime { get; set; }
        /// <summary>
        ///上传指令
        /// </summary>
        public string commandStr { get; set; }
        /// <summary>
        ///设备所属用户
        /// </summary>
        public int? CreateID { get; set; }

    }
}
